package com.example.smart.ui.activity.home

import com.example.lib.extend.setOnDoubleClickListener
import com.example.lib.utils.statusbar.StatusBarUtils
import com.example.smart.R
import com.example.smart.base.ui.activity.BaseActivity
import com.example.smart.databinding.ActivityMineBinding
import com.example.smart.utils.DisplayUtils

class MineActivity : BaseActivity<ActivityMineBinding>() {

    override fun layoutID() = R.layout.activity_mine

    override fun initView() {
        StatusBarUtils.setStateAndNavigationBar(this@MineActivity, statusBarColor = com.example.lib.R.color.translate)
    }

    override fun initListener() {
        binding.Lin3.setOnDoubleClickListener {
            DisplayUtils.toSheepMap(this@MineActivity)
        }

        binding.Lin4.setOnDoubleClickListener {
            DisplayUtils.toMySheep(this@MineActivity)
        }

        binding.Lin5.setOnDoubleClickListener {
            DisplayUtils.toFence(this@MineActivity)
        }

        binding.Lin6.setOnDoubleClickListener {
            DisplayUtils.toOrder(this@MineActivity)
        }

        binding.ImageLine1.setOnDoubleClickListener {
            DisplayUtils.toFence(this@MineActivity)
        }
    }

}